package com.bestdata.em.drs.receviedatafromDRS.model;

import java.util.List;

/**接收DMS数据 第二版
 * @author czy
 */
public class DataInfo {

    private String devid;  //设备Id
    private String devname;  //设备名称

    private Long tm;  // 时间
    private String value;  //设备值
    /**
     * 设备下面的传感器数据
     */
    private List<SensorData> sensors;

    public List<SensorData> getSensors() {
        return sensors;
    }

    public void setSensors(List<SensorData> sensors) {
        this.sensors = sensors;
    }

    public String getDevid() {
        return devid;
    }

    public void setDevid(String devid) {
        this.devid = devid;
    }

    public String getDevname() {
        return devname;
    }

    public void setDevname(String devname) {
        this.devname = devname;
    }

    public Long getTm() {
        return tm;
    }

    public void setTm(Long tm) {
        this.tm = tm;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }


    @Override
    public String toString() {
        return "DataInfo{" +
                "devid='" + devid + '\'' +
                ", devname='" + devname + '\'' +
                ", tm=" + tm +
                ", value='" + value + '\'' +
                ", sensors=" + sensors +
                '}';
    }
}
